package com.whl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Component;

@Component
public class GlobalProperites {

	@Autowired
	private Environment env;

	public String passwordSalt() {
		String salt = env.getProperty("password.salt");
		return salt;
	}

}
